package com.luckku.boot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.luckku.boot.model.entity.Goods;
import com.luckku.boot.model.entity.OrderInfo;
import com.luckku.boot.model.vo.CartVo;

import java.util.List;

/**
 * @author luckku
 * @date 2021/12/18
 */

public interface IOrderService extends IService<OrderInfo> {

    List<CartVo> getOrderGoodsList(String orderId, String storeId);

    Long getCashFlow(Long days);

    Long getStoreCashFlow(Long days, String storeId);

    Page<OrderInfo> getList(Page<OrderInfo> objectPage);

    Goods getBestSelling();

    Long getBestSellingCount();
}
